<?php
if (!is_admin()) add_action( 'wp_print_scripts', 'woothemes_add_javascript' );
if (!function_exists('woothemes_add_javascript')) {
	function woothemes_add_javascript( ) {
		wp_enqueue_script('jquery');    
		wp_enqueue_script( 'jcarousel', get_bloginfo('template_directory').'/includes/js/jcarousel.js', array( 'jquery' ) );
		wp_enqueue_script( 'tipsy', get_bloginfo('template_directory').'/includes/js/jquery.tipsy.js', array( 'jquery' ) );
		wp_enqueue_script( 'general', get_bloginfo('template_directory').'/includes/js/general.js', array( 'jquery' ) );
	}
}
?>